package com.wn.ov;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 用于承装页面传过来的护理记录数据和药品开销数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NurseRecordAndCostDrugOv {

    //患者id
    @NotNull(message = "患者不能为空")
    private Integer patientId;

    //经治医生id
    @NotNull(message = "医生不能为空")
    private Integer doctorId;

    //护理类型
    @NotBlank(message = "护理类型不能为空")
    private String type;

    //护理详情
    @NotBlank(message = "护理详情不能为空")
    private String detail;

    //药品id
    private Integer drugId;

    //药品价格
    private BigDecimal price;

    //药品数量
    private Integer num;

}
